<?php

namespace app\api\controller;

use app\api\service\GoodsCateService;
use app\ApiController;

class GoodsCateController extends ApiController
{
    /**
     * 商品分类列表
     */
    public function index()
    {
        $goodsCateService = new GoodsCateService();
        $res = $goodsCateService->getCateList();
        return sparkSuccess($res);
    }
}
